package com.zhouxiaoge.annotations.xml;

import com.zhouxiaoge.annotations.annotations.Validate;

public class RequsetXml {

    @Validate(errorMsg = "报文头不能为空")
    private Head head;

    @Validate(errorMsg = "主节点不能为空")
    private Main main;

    @Validate(errorMsg = "基本信息不能为空")
    private Base base;

    public Head getHead() {
        return head;
    }

    public void setHead(Head head) {
        this.head = head;
    }

    public Main getMain() {
        return main;
    }

    public void setMain(Main main) {
        this.main = main;
    }

    public Base getBase() {
        return base;
    }

    public void setBase(Base base) {
        this.base = base;
    }

}